<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>{$SHOP_NAME}团购管理系统</title>

<load href='__TMPL__ThemeFiles/Css/style.css' />

<load href="__TMPL__ThemeFiles/Js/Base.js" />

<load href="__TMPL__ThemeFiles/Js/prototype.js" />

<load href="__TMPL__ThemeFiles/Js/mootools.js" />

<load href="__TMPL__ThemeFiles/Js/Ajax/ThinkAjax.js" />

<load href="__TMPL__ThemeFiles/Js/common.js" />

<load href="__TMPL__ThemeFiles/Js/Util/ImageLoader.js" />



<script language="JavaScript">

<!--

//指定当前组模块URL地址 

var URL = '__URL__';

var ROOT_PATH = '__ROOT__';

var APP	 =	 '__APP__';

var PUBLIC = '__TMPL__ThemeFiles';

ThinkAjax.image = [	 '__TMPL__ThemeFiles/Images/loading2.gif', '__TMPL__ThemeFiles/Images/ok.gif','__TMPL__ThemeFiles/Images/update.gif' ]

ImageLoader.add("__TMPL__ThemeFiles/Images/bgline.gif","__TMPL__ThemeFiles/Images/bgcolor.gif","__TMPL__ThemeFiles/Images/titlebg.gif");

ImageLoader.startLoad();

var VAR_MODULE = '{:c('VAR_MODULE')}';

var VAR_ACTION = '{:c('VAR_ACTION')}';

var CURR_MODULE = '{$module_name}';

//-->

</script>

<base target="main" />

</head>

<body>

<!-- 头部区域 -->

<div id="header" class="header">

<div class="headTitle" style="margin:10px 5px 5px 30px;">

	<img src="__TMPL__ThemeFiles/Images/logo.jpg" />

</div>

	<!-- 功能导航区 -->

	<div class="topmenu">

<ul id="top_menu">



<foreach name="roleNav" item="vo" key="key" >

<li><span><a href="#" onClick="sethighlight({$key}); parent.menu.location='{:u('Index/menu?tag='.$vo['id'].'&title='.$vo['name'])}'; parent.main.location='{:u('Index/menumain?tag='.$vo['id'].'&title='.$vo['name'])}'; return false;">{$vo.name}</a></span></li>

</foreach>



</ul>

</div>

	<div class="nav">

	

	{$Think.lang.WELCOME}{$Think.session.adm_name}

	

	<a href="{:u('Index/password')}"><img src="__TMPL__ThemeFiles/Images/checked_out.png" width="16" height="16" border="0" alt="" align="absmiddle"> {$Think.lang.CHANGE_PASSWORD}</a> 

	<a href="__ROOT__/" target="_blank"><img src="__TMPL__ThemeFiles/Images/gohome.gif" width="16" height="16" border="0" alt="" align="absmiddle"> {$Think.lang.GO_HOME}</a>  

	<a href="__ROOT__/services/admin.php?action=updategoods" target="_blank"><img src="__TMPL__ThemeFiles/Images/revert.gif" width="16" height="16" border="0" alt="" align="absmiddle">重构今日团购排序</a>
	<!--2011-01-30 update end-->
	<a href="javascript:;" onclick="clearCache();"><img src="__TMPL__ThemeFiles/Images/clear.gif" width="16" height="16" border="0" alt="" align="absmiddle"> {$Think.lang.CLEAR_CACHE}</a> 

	

	<a href="{:u('Public/logout')}" target="_top"><img SRC="__TMPL__ThemeFiles/Images/error.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle"> {$Think.lang.LOGOUT}</a>

    

    </div>

    <div class="ajaxmessage"></div>

</div>

<load href="__TMPL__ThemeFiles/Js/jquery.js" />

<script>

jQuery.noConflict();



function sethighlight(n) {

	var lis = document.getElementById("top_menu").getElementsByTagName('span');

	for(var i = 0; i < lis.length; i++) {

		lis[i].className = '';

	}

	lis[n].className = 'current';

}

sethighlight(0);

</script>

</body>

</html>